1,winexec (): WinExec mainly runs EXE files and cannot run other types of files. No special units are referenced. Prototype: UINT winexec (exepath,showcmd) example, I want to open "C:\HDC with Notepad. TXT ", run in Normal mode: WinExec (PChar (
Go WinExec, ShellExecute and CreateProcess and how to determine the return valueHttp://www.cnblogs.com/ziwuge/archive/2012/03/12/2392472.htmlThere are three API functions that can run executable files winexec, ShellExecute, and CreateProcess.
There are three API functions that can run executable files winexec, ShellExecute, and CreateProcess. CreateProcess is less used because it is more complex to use. WinExec mainly run EXE files.⑴ function prototype: UINT Win Exec (LPCSTR lpcmdline,
ShellExecuteThe function of ShellExecute is to run an external program (or open a registered file, open a directory, print a file, etc.) and control the external program.
Several API functions can implement these functions, but in most cases,
What about winexec? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiAPI/html/delphi_20061114224727232.html
Below is
Program Call program B. The logon page of program B is displayed. Enter the user name and password to log on to program B
How to prompt for characters on image.
How to join TB2K
FastReport4.0 the problem of Chinese after installation.
How to get the current year and month alone??
[Exam questions] What's the difference between the two string assignment
Winexec (pchar ('strcommand'), sw_show );"Strcommand" indicates one of the following commands (do not enclose them with quotation marks when running in Windows ):"Rundll32 shell32, control_rundll"-Operation Control Panel"Rundll32 shell32,
Do you want to start the various settings in the Control Panel while the program is running, using the following methods:
var x:cardinal;Begin{Start Control Panel}X:=winexec (rundll32.exe shell32.dll,control_rundll,9); {Secondary Option
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.